﻿namespace D.Application.Contracts.Dtos
{
    /// <summary>
    /// 更改审计状态
    /// </summary>
    public class AuditDto
    {
        /// <summary>
        /// Id
        /// </summary>
        public List<string> Ids { get; set; }

        /// <summary>
        /// 审计状态
        /// </summary>
        public AuditTypeEnum Audit { get; set; }
    }

    public enum AuditTypeEnum
    {
        /// <summary>
        /// 审批中
        /// </summary>
        OnGoing = 1,
        /// <summary>
        /// 通过
        /// </summary>
        Ok = 2,
        /// <summary>
        /// 拒绝
        /// </summary>
        Rejeat = 3,
        /// <summary>
        /// 取消
        /// </summary>
        Cancel = 4,
    }
}
